//
//  SRDay+Cate.h
//  SportRing
//
//  Created by mykoma on 14/10/27.
//  Copyright (c) 2014年 HotOne. All rights reserved.
//

#import "SRDay.h"

@interface SRDay (Cate)

+ (SRDay *)day;

- (void)configAttributesWithBlock:(void(^)(SRDay * aSelf))block;

@end

@interface SRDay (Find)

+ (NSArray *)findDaysForMonth:(SRMonth *)month;

+ (SRDay *)findDayForDate:(NSDate *)date forMe:(SRMe *)me;

+ (SRDay *)findDayForDateStr:(NSString *)dateStr forMe:(SRMe *)me;

+ (SRDay *)findDayCINEForDate:(NSDate *)date forMe:(SRMe *)me;

+ (SRDay *)findDayCINEForDateStr:(NSString *)dateStr forMe:(SRMe *)me;

- (NSInteger)countOfSteps;

- (CGFloat)countOfDistance;

- (CGFloat)countOfCalorie;

- (CGFloat)averageTemperature;

- (CGFloat)altitude;

@end
